#include "modem.h"
/*
AT+CMGS=+393471111111
e alal fine control+Z
*/

int initModem(void)
{
	hw_putst("AT+CMGF=1\r");
	return 0;
}

int sendSMS(const char* str, const char* num)
{
	char command[50];
	hw_putst("AT+CMGS=");
	hw_putst(num);
	hw_putst("\r");
	DelayUs(250); //in caso togliere
	hw_putst(str);
	hw_putinthex(26);
}
